package com.cskaoyan.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

//逆向工程
@Data
public class User {
    Integer id;
    String username;
    String password;
    String gender;

    //响应json数据的日期：@JsonFormat 👉 接收和响应的json日期格式
    //@JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    Date birthday;
    Date lastLoginTime;
    String lastLoginIp;
    Integer userLevel;
    String nickname;
    String mobile;
    String avatar;
    String weixinOpenId;
    Integer status;
    Date addTime;
    Date updateTime;
    Boolean deleted;
}
